package com.m2bshop.shop.dao;

import com.m2bshop.shop.pojo.Wallet;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface WalletMapper {
    Wallet getInfo(int userid);//获得钱包信息
    void Insert(Wallet wallet);//插入新钱包
    void Update(Wallet wallet);//修改钱包信息，包括余额等
    int getUserInfo(int userid);//查找是否拥有钱包
    void UpdateWallet(int userid);//修改isWallet
}
